//
//  Peasou.m
//  Archive
//
//  Created by MyMac on 15/8/21.
//  Copyright (c) 2015年 MyMac. All rights reserved.
//

#import "Peasou.h"

@implementation Peasou


- (void)encodeWithCoder:(NSCoder *)aCoder
{
    
    [aCoder encodeObject:_name forKey:@"name"];
    
    [aCoder encodeObject:_data forKey:@"data"];
    
}


- (id)initWithCoder:(NSCoder *)aDecoder
{
    if(self = [super init]){
        
        
    _name = [aDecoder decodeObjectForKey:@"name"];
        
        _data = [aDecoder decodeObjectForKey:@"data"];
        
    }
    
    return self;
    
    
}

@end
